@import '../../../assets/styles/variable.scss';

.container {
    .copyright {
        background: $gray-2;
    }
    .copyright {
        display: none;
    }
}
@media screen and (min-width: 401px) {
    .container {
        width: 100%;
        .contact {
            padding: 0 10%;
            background: $gray-3;
            margin: 0 auto;
            .ctContainer {
                width: 66%;
                margin: 0 auto;
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: center;
            }     
            .webInfo, .relevantCode {
                margin: 5% 5%;
                width: 45%;
                height: 200px;
            }
            .webInfo, .relevantCode div {
                background: $gray-2;
            }
            .webInfo {
                padding-top: 3%;
                padding-left: 4%;
                p {
                    font-weight: bold;
                    color: $gray-6;
                    font-size: map-get($map: $common, $key: 'footer-font-1-pc');
                }
            }
            .webInfo {
                a {
                    display: inline-block;
                    margin-top: 10px;
                    margin-right: 30px;
                    font-size: map-get($map: $common, $key: 'footer-font-1-pc');
                }
            }

            .crHintContainer{
                display: flex;
                flex-direction: row;
                width: 100%;
                div{
                    margin: auto auto;
                    padding: 0 10px;
                    a{
                        margin: 0 auto;              
                    }
                }

            }
            .relevantCode {
                display: flex;
                flex-direction: column;
                justify-content:space-between;
                .dropdown {
                    position: relative;
                    display: inline-block;
                    .dropdownDesc {
                        height: 59px;
                        line-height: 59px;
                        font-size: map-get($map: $common, $key: 'footer-font-1-pc');
                        cursor: pointer;
                        img {
                            width: 40px;
                            margin-bottom: 3px;
                            margin-left: 10px;
                            margin-right: 14px;
                        }
                    }
                    .content {
                        display: none;
                        position: absolute;
                        background-color: white;
                        padding: 10% 15%;
                        box-shadow: 0 0 5px $alpha-black;
                        bottom: 59px;
                        width: 100%;
                        img {
                            height: 170px;
                            width: 100%;
                        }
                    }
                    
                }   
                .dropdown:hover .content {
                    display: block;
                }
            }
            
        }
        .copyright {
            padding: 30px 0;
            .crContainer {
                width: 1000px;
                margin: 0 auto;
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                .crInfo {
                    height: 60px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: space-between;
                    font-size: map-get($map: $common, $key: 'footer-font-2-pc');
                    color: $gray-5;
                    img {
                        margin-right: 5px;
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 1160px) {
    .container {
        width: 100%;
        .contact {
            padding: 0 4%;
            background: $gray-3;
            margin: 0 auto;
            .ctContainer {
                width: 90%;
                margin: 0 auto;
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: center;
            }     
            .webInfo, .relevantCode {
                margin: 5% 8%;
                width: 198px;
                height: 200px;
            }
            .webInfo, .relevantCode div {
                background: $gray-2;
            }
            .webInfo {
                padding-top: 15px;
                padding-left: 10px;
                p {
                    font-weight: bold;
                    color: $gray-6;
                    font-size: map-get($map: $common, $key: 'footer-font-1-pc');
                }
            }
            .webInfo {
                a {
                    display: inline-block;
                    margin-top: 10px;
                    margin-right: 30px;
                    font-size: map-get($map: $common, $key: 'footer-font-1-pc');
                }
            }

            .crHintContainer{
                display: flex;
                flex-direction: column;
                justify-content:space-between;
                width: 100%;
                div{
                    margin: 0 auto;
                    padding: 0 10px;
                    a{
                        margin: 0 auto;              
                    }

                    p {
                       
                    }
                }

            }
            .relevantCode {
                display: flex;
                flex-direction: column;
                justify-content:space-between;
                .dropdown {
                    position: relative;
                    display: inline-block;
                    .dropdownDesc {
                        height: 59px;
                        line-height: 59px;
                        font-size: map-get($map: $common, $key: 'footer-font-1-pc');
                        cursor: pointer;
                        img {
                            width: 40px;
                            margin-bottom: 3px;
                            margin-left: 10px;
                            margin-right: 14px;
                        }
                    }
                    .content {
                        display: none;
                        position: absolute;
                        background-color: white;
                        padding: 10% 15%;
                        box-shadow: 0 0 5px $alpha-black;
                        bottom: 59px;
                        width: 100%;
                        img {
                            height: 170px;
                            width: 100%;
                        }
                    }
                    
                }   
                .dropdown:hover .content {
                    display: block;
                }
            }
            
        }
        .copyright {
            padding: 30px 0;
            .crContainer {
                width: 1000px;
                margin: 0 auto;
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                .crInfo {
                    height: 60px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: space-between;
                    font-size: map-get($map: $common, $key: 'footer-font-2-pc');
                    color: $gray-5;
                    img {
                        margin-right: 5px;
                    }
                }
            }
        }
    }
   
}


@media screen and (max-width: 400px) {
    .container {
        width:399px;
        .contact {
            padding: 0 0;
            background: $gray-3;
            height:495px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            .ctContainer {
                width: 380px;
                margin: 5px 10px;
                display: flex;
                flex-direction: column;
                align-items: left;
                justify-content: space-between;
            }   

            .webInfo, .relevantCode {
                margin: 10px 18px;
                width: 340px;
                height: 130px;
            }
            .webInfo, .relevantCode div {
                background: $gray-2;
            }
            
            .webInfo {
                padding-top: 5px;
                padding-left: 10px;
                p {
                    font-weight: bold;
                    color: $gray-6;
                    font-size: map-get($map: $common, $key: 'footer-font-1-pc');
                }

                a{
                    margin:10px 5px;
                }

            }

            .crHintContainer {
                margin: 0 auto;
                div{
                    align-items: center;
                } 
            }

            .relevantCode {
                display: flex;
                flex-direction: column;
                justify-content:space-between;
                .dropdown {
                    position: relative;
                    display: inline-block;
                    .dropdownDesc {
                        height: 59px;
                        line-height: 59px;
                        font-size: map-get($map: $common, $key: 'footer-font-1-pc');
                        cursor: pointer;
                        img {
                            width: 40px;
                            margin-bottom: 3px;
                            margin-left: 10px;
                            margin-right: 14px;
                        }
                    }
                    .content {
                        display: none;
                        position: absolute;
                        background-color: white;
                        padding: 10% 15%;
                        box-shadow: 0 0 5px $alpha-black;
                        bottom: 59px;
                        width: 100%;
                        img {
                            width: 100%;
                            height:150px;
                        }
                    }
                    
                }   
                .dropdown:hover .content {
                    display: block;
                }
            }
        }

        
        .copyright {
            height: 330px;
        }
    
    }
}